package com.blog4j.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 用户每个月修改密码次数
 * @Create on : 2024/8/30 12:51
 **/
@TableName("t_user_updatepwd_times")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserUpdatePwdTimesEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 修改密码的次数
     */
    private Integer times;

    /**
     * 月份
     */
    private String date;
}
